package net.gd.persistence;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import net.gd.domain.topicDetail;
import net.gd.domain.topicDetailExample;
import net.gd.dto.topicDetailDto;

public interface topicDetailMapper {
    int countByExample(topicDetailExample example);

    int deleteByExample(topicDetailExample example);

    int insert(topicDetail record);

    int insertSelective(topicDetail record);

    List<topicDetail> selectByExample(topicDetailExample example);
    
    topicDetail selectOneByExample(topicDetailExample example);

    int updateByExampleSelective(@Param("record") topicDetail record, @Param("example") topicDetailExample example);

    int updateByExample(@Param("record") topicDetail record, @Param("example") topicDetailExample example);
    
    topicDetail selectByParam(topicDetailDto topicDetail);
    
    topicDetail selectByParams(topicDetailDto topicDetail);
}